.header {
    position: relative;
    z-index: 999;
    width: 100%;
    height: 60px;
    background: #fff;

    .container {
        display: flex;
        vertical-align: middle;
        padding: 0 24px;
        height: 100%;
        align-items: center;

        .logo {
            display: flex;
            align-items: center;

            img {
                height: 28px;
            }
        }

        .right {
            flex: 1;
            justify-content: flex-end;
            display: flex;

            > button {
                margin-left: 10px;
            }
        }

        .sub-title {
            margin-left: 24px;
            max-width: 284px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;

            > span {
                margin: 0 4px;
            }
        }

        .save-status {
            font-size: 12px;
            color: #8c8c8c;
            margin-left: 16px;
        }
    }

    @media only screen and (max-width: 575px) {
        .container {
            padding: 0 16px;
        }
    }
}

.container {
    margin: 0 auto;
}

.editor {
    :global {
        .itellyou-max-editor {
            height: calc(100vh - 60px);
        }

        @media only screen and (max-width: 575px) {
            .itellyou-max-editor {
                min-width: 0;
                width: 100%;
            }
        }

        .itellyou-max-editor-wrapper {
            background: #fff;

            .itellyou-toolbar {
                background: #fff;
                border-top: 1px solid #f9f9f9;
                border-bottom: 0 none;
                box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.06);
            }

            .itellyou-common-sidebar {
                padding-top: 24px;
                width: calc(50% - 454px);
                left: calc(50% + 428px);
                padding-left: 24px;
            }

            .itellyou-max-editor-wrapper-content {
                background-color: #fafafa;
            }

            .itellyou-max-editor-content {
                background-color: #fafafa;
                padding: 24px 0 64px;

                .itellyou-content-editor {
                    border: 1px solid #f0f0f0;
                    box-shadow: none;

                    .itellyou-anchor-button {
                        width: 24px;
                        text-align: center;
                    }

                    .itellyou-engine:not(.sub-editor-content) {
                        min-height: 1024px;
                        padding: 40px 60px 90px 60px;
                    }

                    @media only screen and (max-width: 575px) {
                        .itellyou-engine:not(.sub-editor-content) {
                            min-height: 200px;
                            padding: 16px;
                        }
                    }
                }

                @media only screen and (max-width: 575px) {
                    .itellyou-content-editor {
                        width: 100%;
                    }
                }
            }
        }
    }
}

.meta-warp {
    width: 320px;
}

.collab-user {
    position: relative;

    :global(.ant-badge) {
        position: absolute;
        bottom: 0;
        right: 0;
        display: block;
        line-height: 6px;
        width: 6px;
        height: 6px;
    }
}
